﻿using System;

namespace Model
{
    /// <summary>
    /// Summary description for ModelVYC09 : Khach hang
    /// </summary>
    public class ModelVYC09
    {
        public int Id { get; set; }
        public int IdLoaiKhachHang { get; set; }
        public string Ten { get; set; }
        public string CapBac { get; set; }
        public string Username { get; set; }
        public string Password { get; set; }
        public string PasswordHash { get; set; }
        public string Email { get; set; }
        public string SDT { get; set; }
        public string DiaChi { get; set; }
        public int TongDiem { get; set; }
        public DateTime NgayCapNhat { get; set; }
        public int TrangThai { get; set; }
        public string Anhdaidien { get; set; }

        public ModelVYC09()
        {
            //Constructor
        }

        public ModelVYC09(int _id, int _idloaikhachhang, string _ten, string _capbac, string _username, string _password,
                          string _passwordhash, string _email, string _sdt, string _diachi, int _tongdiem,
                          DateTime _ngaycapnhat, int _trangthai, string _anhdaidien)
        {
            Id = _id;
            IdLoaiKhachHang = _idloaikhachhang;
            Ten = _ten;
            CapBac = _capbac;
            Username = _username;
            Password = _password;
            PasswordHash = _passwordhash;
            Email = _email;
            SDT = _sdt;
            DiaChi = _diachi;
            TongDiem = _tongdiem;
            NgayCapNhat = _ngaycapnhat;
            TrangThai = _trangthai;
            Anhdaidien = _anhdaidien;
        }
    }
}